package ws.performancetest.tests.synchronization.enumaration;

import ws.performancetest.tests.synchronization.task.TConsumer;
import ws.performancetest.tests.synchronization.task.TProducer;
import ws.performancetest.tests.synchronization.task.TReader;
import ws.performancetest.tests.synchronization.task.TWriter;

/**
 * Enumeration of thread group type.
 *
 * <p>It says what kind of threads are within a group.
 * Threads are either on a "Reader-Writer" group or a "Producer-Consumer" group.
 * <p>
 * <p>
 *  <ul>
 *    <li>Reader-Writer: threads are either {@link TReader} or {@link TWriter}</li>
 *    <li>Producer-Consumer: threads are either {@link TProducer} or {@link TConsumer}</li>
 *  </ul>
 * </p>
 *
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public enum ThreadGroupType {
  /** Reader-Writer: threads are either {@link TReader} or {@link TWriter}. */
  Reader_Writer,
  /** Producer-Consumer: threads are either {@link TProducer} or {@link TConsumer}. */
  Producer_Consumer
}
